package com.clkj.xiuzheng.pojo.shangcheng;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author lipeiyi
 */
@ApiModel( value ="t_xz_companyCommisson" )
@Table( name ="t_xz_companyCommisson" )
public class CompanyCommisson  implements Serializable {


	/**
	 * id 公司用佣金结算记录表
	 */
    @Id
   	@Column(name = "company_commission_id",updatable = false)
	@ApiModelProperty( value="id 公司用佣金结算记录表")
	private Integer companyCommissionId;

	/**
	 * 发放佣金数
	 */
   	@Column(name = "grant_money" )
	@ApiModelProperty( value="发放佣金数")
	private Double grantMoney;

	/**
	 * 发放时间
	 */
   	@Column(name = "grant_date" )
	@ApiModelProperty( value="发放时间")
	private String grantDate;

	/**
	 * 发放給哪个分销公司
	 */
   	@Column(name = "company_id" )
	@ApiModelProperty( value="发放給哪个分销公司")
	private Integer companyId;
    /**
     * 结算备注
     */
       @Column(name = "grant_remark" )
       @ApiModelProperty( value="结算备注")
       private String grantRemark;

       @Transient
       private String companyName;

  public Integer getCompanyCommissionId() {
    return companyCommissionId;
  }

  public void setCompanyCommissionId(Integer companyCommissionId) {
    this.companyCommissionId = companyCommissionId;
  }


  public Double getGrantMoney() {
    return grantMoney;
  }

  public void setGrantMoney(Double grantMoney) {
    this.grantMoney = grantMoney;
  }


  public String getGrantDate() {
    return grantDate;
  }

  public void setGrantDate(String grantDate) {
    this.grantDate = grantDate;
  }


  public Integer getCompanyId() {
    return companyId;
  }

  public void setCompanyId(Integer companyId) {
    this.companyId = companyId;
  }

    public String getGrantRemark() {
        return grantRemark;
    }

    public void setGrantRemark(String grantRemark) {
        this.grantRemark = grantRemark;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
}
